﻿@model School.Models.NoticesSet
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
           <div class="conhead">
                        <p>通知公告</p>
                    <div class="titleedit">       
                        <span>题目 : </span>
                        <input name="Title" type="text" class ="text" value="@Model.Title" />
                        <span>来源 : </span>
                        <input name="Writer" type="text" class ="text" value="@Model.Writer" />
                        <span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp日期 : </span>
                        <input name="Date" class ="text" type="text" value="@DateTime.Now.ToLocalTime()" /><br /><br />
                        <span>附件 :</span>
                        <input type="text" name="file" class="text" id="xFilePath" value="@Model.file" />
                        <input type="button"  value="上 传" onclick="BrowseServer()" />
                    </div>
           </div>                                     
           <div>
                <script name ="Content" id="editor" type="text/plain" style="width:1024px;height:500px;">@Html.Raw(@Model.Content)</script>
           </div>
           <div class="consub">
           <input type="submit" value="提交" id="button" />
           </div>
}